package com.spzx.product.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.spzx.common.core.web.domain.BaseEntity;

import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 分类品牌
 * </p>
 *
 * @author gax
 * @since 2025-08-23
 */

@Schema(description = "品牌")
@Getter
@Setter
@TableName("brand")
// 只针对非空字段进行 JSON 序列化，避免返回 null 值
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Brand extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 品牌名称
     */
    private String name;

    /**
     * 品牌图标
     */
    private String logo;
}
